a11y: Avoid out-of-bounds access
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 Feb 2021 05:34:05 +0000 (00:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Feb 2021 16:44:52 +0000 (11:44 -0500)
commit7f9d89e4a275ad24fb29abd87e241b3d885a69f9
tree1d6ed2a64ef99717b93f9e378de12344b57a429b
parentacb3e489cb1b067124252c98d009786a6004ae47
a11y: Avoid out-of-bounds access

Don't use the index before we've checked its good.

Pointed out in https://www.viva64.com/en/b/0793/
gtk/a11y/gtkatspiaction.c